<!DOCTYPE html>
<html lang="en">
<head>
    <!-- 万国码 gb2312/gbk -->
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <!-- 视口标签,学移动端时候做适配 -->
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>1-label标签</title>
</head>
<body>
    <form action="" method="get">
        <!-- label和input标签进行绑定 for="input的id值" -->
        <label for="username">
            用户名: <input type="text" id="username" name="username" placeholder="请输入用户名...">
        </label><br>
        <label for="logo">
            上传: <input type="file" id="logo" name="logo"/>
        </label><br>
        <label for="hide">
            隐藏域：<input id="hide" type="hidden" name="uid" value="10">
        </label><br>
        <input type="button" value="提交">
    </form>
</body>
</html>